package com.lebang.domain;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDate;
import lombok.Data;

/**
 * cences_earn_day
 * @author 
 */
@Data
@ApiModel("")
public class CencesEarnDay implements Serializable {
    /**
     * id
     */
    @ApiModelProperty("id")
    private Integer id;

    /**
     * 创建时间
     */
    @ApiModelProperty("创建时间")
    private LocalDate createTime;

    /**
     * 记录日期
     */
    @ApiModelProperty("记录日期")
    private Integer time;

    /**
     * 安装渠道
     */
    @ApiModelProperty("安装渠道")
    private String brand;

    /**
     * 1新用户0老用户
     */
    @ApiModelProperty("1新用户0老用户")
    private Integer category;

    /**
     * 1总计0分渠道
     */
    @ApiModelProperty("1总计0分渠道")
    private Integer type;

    /**
     * 待提交
     */
    @ApiModelProperty("待提交")
    private Integer waitCount;

    /**
     * 成功数
     */
    @ApiModelProperty("成功数")
    private Integer successCount;

    /**
     * 放弃数
     */
    @ApiModelProperty("放弃数")
    private Integer failCount;

    /**
     * 下载数
     */
    @ApiModelProperty("下载数")
    private Integer downCount;

    /**
     * 浏览数
     */
    @ApiModelProperty("浏览数")
    private Integer lookCount;

    /**
     * 下载支出
     */
    @ApiModelProperty("下载支出")
    private BigDecimal downRebate;

    /**
     * 浏览支出
     */
    @ApiModelProperty("浏览支出")
    private BigDecimal lookRebate;

    /**
     * 签到数
     */
    @ApiModelProperty("签到数")
    private Integer clickCount;

    /**
     * 签到金额
     */
    @ApiModelProperty("签到金额")
    private BigDecimal clickRebate;

    private String sdkKey;

    /**
     * 完成人数
     */
    @ApiModelProperty("完成人数")
    private Integer finishNum;

    /**
     * 应用id
     */
    @ApiModelProperty("应用id")
    private Integer appId;

    private String sdkAppStore;


    public CencesEarnDay(int i, String appStore, int time, int category,String sdkKey,int type,Integer appId) {
        BigDecimal o=new BigDecimal(i);
        this.waitCount = i;
        this.successCount = i;
        this.failCount = i;
        this.downCount = i;
        this.lookCount = i;
        this.downRebate = o;
        this.lookRebate = o;
        this.downCount = i;
        this.clickCount = i;
        this.clickRebate = o;
        this.brand=appStore;
        this.time=time;
        this.category=category;
        this.type=type;
        this.createTime= LocalDate.now();
        this.sdkKey=sdkKey;
        this.finishNum= i;
        this.appId=appId;
    }

    public CencesEarnDay() {
    }

    private static final long serialVersionUID = 1L;
}